//
//@File    :	9.1_coordin.h
//@Time    :	2021/08/22 11:48:27
//@Auther  :	Sun Sheng
//@Contact :	970340843@qq.com
//@Desc    :	structure templates and function prototypes
//

#ifndef COORDIN_H_
#define COORDIN_H_

struct polar
{
    double distance;
    double angle;
};

struct rect
{
    double x;
    double y;
};

polar rect_to_polar(rect xypos);
void show_polar(polar dapos);

#endif